package com.zaijiansunwukong.gen.model;

import java.util.Date;


/**
 * 数据字典表
 */
public class Code {

	/**
	 * id
	 */
	private Long id;
	
	/**
	 * 数据字典类型
	 */
	private String type;
	
	/**
	 * 数据字典code
	 */
	private String code;
	
	/**
	 * 数据字典value
	 */
	private String name;
	
	/**
	 * 更新时间
	 */
	private Date updateTime;
	
	/**
	 * 有效标志 0：无效 、1：有效
	 */
	private String valid;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getValid() {
		return valid;
	}

	public void setValid(String valid) {
		this.valid = valid;
	}
}
